// liu.c

inherit NPC;

void create()
{
        set_name("刘国轩", ({ "liu guoxuan", "liu"}));
        set("gender", "男性");
        set("age", random(10) + 30);
        set("str", 25);
        set("dex", 16);
        set("long", "他就是延平王府的宿将，台海安危的干城，台湾三虎的刘大将军。\n");
        set("combat_exp", 75000);
        set("shen_type", 1);
        set("attitude", "peaceful");

        set_skill("unarmed", 60);
        set_skill("force", 60);
        set_skill("sword", 60);
        set_skill("dodge", 60);
        set_skill("parry", 60);
        set_temp("apply/attack", 50);
        set_temp("apply/defense", 50);
        set_temp("apply/armor", 50);
        set_temp("apply/damage", 30);

        set("neili", 400); 
        set("max_neili", 400);
        set("jiali", 10);

        setup();
        carry_object("/d/city/npc/obj/gangjian")->wield();
        carry_object("/d/city/npc/obj/tiejia")->wear();
}

void init()
{
        object ob;

        ::init();

        if( interactive(ob = this_player()) && !is_fighting() ) {
                remove_call_out("greeting");
                call_out("greeting", 1, ob);
        }
}

void greeting(object ob)
{
        if( environment(ob) != environment() ) return;
        say("刘国轩扬声道：小将守土有责，虽万死以不辞。\n");
}


